package com.ruoyi.websql.domain.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * @author xudengyu
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class SqlDataSourceMeta {
    private String productName;

    private String productVersion;

    private String driverName;

    private String driverVersion;

    private Boolean readOnly;

    private Boolean supportsTransactions;

    private String tableName;

    private String dataSourceKey;

    private String databaseName;

    private String tableType;

    private String tableSchema;

    private String tableComment;

    private List<SqlDataSourceTableMeta> tablesMetaList;

    private List<SqlDataSourceTableMeta> tablesKeysMetaList;

    private List<SqlDataSourceIndexMeta> tablesIndexMetaList;
}
